﻿using Volo.Abp.DependencyInjection;
using YAPACS.Workflows;

namespace YAPACS.RisServer.Workflows.HomePage
{
    public class GetHomeAmisView : WorkflowBase, IGetHomeAmisView, ITransientDependency
    {
        protected override async Task<WorkflowOutput> InvokeCoreAsync(WorkflowInput input)
        {
            WorkflowOutput workflowOutput = new WorkflowOutput { Success = true };
            workflowOutput.View = await Extensions.GetResourceStringAsync("Resources.HomePage.home-view.json");
            return workflowOutput;
        }
    }
}
